package Ligacao;

/**
 * Created by IntelliJ IDEA.
 * User: nelson
 */
public class Ligacao {
    public Ligacao()
    {
    }

    public void startServer(int p, int te, int tp)
    {
        Sender ss = new Sender(p);
        new Thread(ss).start();
    }

    public void connect(int p)
    {
        Receiver rr = new Receiver(p);
        new Thread(rr).start();
    }

}


